import { request } from '@/utils/request'

// 用户详细
export const GetUser = uid => {
  return request({
    url: '/user/detail',
    params: {
      uid
    }
  })
}

// 用户歌单
export const getUserSong = uid => {
  return request({
    url: '/user/playlist',
    params: {
      uid
    }
  })
}

// 用户关注列表
export const getUserfollow = uid => {
  return request({
    url: `/user/follows?uid=${uid}`
  })
}
// 用户粉丝列表
export const getUserfans = uid => {
  return request({
    url: `user/followeds?uid=${uid}`
  })
}
